<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ page contentType="text/html;charset=UTF-8"%>
 
<html>
<head>
<title>Events List</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
 
<p>Events List</p>
<div><s:url id="addEvent" value="addResolveForm.action">
</s:url><s:a href="%{addEvent}">Add</s:a></div>


<s:if test="events.size > 0">
	<table id="events">
		<s:iterator value="events">
			<tr>
				<td> 
					<s:url id="editResolve" value="editResolveForm.action">
						<s:param name="eventId" value="eventId" />
					</s:url>
					<s:a href="%{editResolve}">
						<s:property value="summary" />
					</s:a>
				 </td>
				<!--<td><s:property value="title" /></td>
				-->
				<td><s:property value="description" /></td>
			</tr>
		</s:iterator>
	</table>
</s:if>
 
</body>
</html>